package com.sweet.baolei;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * Created by jinxin on 2017/8/18.
 */
@SpringBootApplication
@MapperScan(basePackages = "com.sweet.baolei.mapper", sqlSessionFactoryRef = "sqlSessionFactory")
public class Application {

    public static void main(String[] args) {

        SpringApplication.run(Application.class,args);

    }

}
